namespace Shop.Data.ShopDataContextMigrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class Cliente : DbMigration
    {
        public override void Up()
        {
            CreateTable(
                "dbo.Clientes",
                c => new
                    {
                        Id = c.Guid(nullable: false, identity: true),
                        codigo = c.String(nullable: false),
                        nombre = c.String(),
                        apellidopaterno = c.String(),
                        apellidomaterno = c.String(),
                        ruc = c.String(),
                        ciudad = c.String(),
                        direccion = c.String(),
                        celular = c.String(),
                    })
                .PrimaryKey(t => t.Id);
            
        }
        
        public override void Down()
        {
            DropTable("dbo.Clientes");
        }
    }
}
